<?php
require("functions.php");

echo '<?xml version="1.0" encoding="utf-8" ?>
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml" xmlns:locify="http://client.locify.com/locify_ns/1.0" xml:lang="cs" lang="cs">
	<head>
		<title>'.$lang["title"].'</title>
	</head>
	<body class="serviceInfo">
		<div>
			<p class="description">'.$lang["description"].'</p>
			<img src="'.SERVICE_URL.'icon.gif" class="icon" alt="" />
			<a href="'.SERVICE_URL.'first.php" class="firstScreen">firstScreen</a>
		</div>
	</body>
	</html>';
	
mysql_query("CREATE TABLE IF NOT EXISTS `users` (
  `id` int(11) NOT NULL auto_increment,
  `nick` varchar(100) collate utf8_czech_ci NOT NULL,
  `groupe` varchar(100) collate utf8_czech_ci NOT NULL,
  `password` varchar(100) collate utf8_czech_ci NOT NULL,
  `lat` varchar(10) collate utf8_czech_ci NOT NULL,
  `lon` varchar(10) collate utf8_czech_ci NOT NULL,
  `time` int(11) NOT NULL,
  `color` varchar(15) collate utf8_czech_ci NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci")
	or die("Nelze vykonat definiční dotaz: " . mysql_error());
?>
